package net.maku.module.train.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import net.maku.framework.common.utils.DateUtils;
import java.util.Date;

/**
* 业务_培训
*
* @author    
*/
@Data
@Schema(description = "业务_培训")
public class TrainVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@Schema(description = "主键")
	private Long id;

	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@Schema(description = "创建人")
	private Long creator;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@Schema(description = "更新人")
	private Long updater;

	@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;

	@Schema(description = "版本")
	private Integer version;

	@Schema(description = "删除标识")
	private Integer deleted;

	@Schema(description = "名称")
	private String name;

	@Schema(description = "培训封面")
	private String imgUrl;

	@Schema(description = "培训分类")
	private Long typeId;

	@Schema(description = "培训简介")
	private String description;

	@Schema(description = "备注")
	private String remark;

	@Schema(description = "计划开始时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date startDate;

	@Schema(description = "计划结束时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date endDate;

	@Schema(description = "预计培训人数")
	private String population;

	@Schema(description = "可用范围")
	private Integer isAll;

	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@Schema(description = "培训状态")
	private Long stateId;

}